package com.szm.feignserver.service;

import com.szm.feignserver.entity.Product;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "productserver", fallback = ProductServiceFallback.class)
public interface ProductService {
    @RequestMapping("/getproduct")
    Product getProduct();
}
